package com.xr.sunnyday.service;

import com.xr.sunnyday.entity.PageResult;
import com.xr.sunnyday.entity.QueryPageBean;
import com.xr.sunnyday.exception.AssociationException;
import com.xr.sunnyday.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {
    List<CheckItem> queryAll();

    void add(CheckItem checkItem) throws AssociationException;

    PageResult findByCondition(QueryPageBean queryPageBean);

    void deleteById(int id) throws AssociationException;

    CheckItem findById(int id);

    void update(CheckItem checkItem);
}
